package org.nix;

import org.apache.log4j.Logger;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * Create by zhangpe0312@qq.com on 2018/3/27.
 */
public class SpringBootStartApplication extends SpringBootServletInitializer {
    private static final Logger logger = Logger.getLogger(SpringBootStartApplication.class);

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(Application.class);
    }
}
